﻿$(function () {
    $("form").validate({
        event: "blur",
        //errorElement: "em",
        errorPlacement: function (error, element) {
            error.appendTo(element.parent("p"));

        },

        success: function (label) {
            label.addClass("success");
        }
    });
});